-
Home
-
Premium Packages – Sell Digital Products Securely
-
5.7.5
-
Code
-
Classes
- Cart
Total Complexity |
110 |
Dependencies |
9 |
Dependents |
2 |
Total lines |
645 |
Lines of code |
458 |
Logical lines of code |
299 |
Comment lines |
75 |
Methods |
35 |
Properties |
4 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
addItem() |
A |
40 |
12 |
55 |
itemInfo() |
A |
51 |
8 |
22 |
updateItem() |
S |
53 |
7 |
23 |
loadSaved() |
S |
53 |
6 |
22 |
addDynamicItem() |
S |
49 |
5 |
32 |
getItems() |
S |
57 |
6 |
16 |
render() |
S |
48 |
5 |
30 |
getCartPrice() |
S |
51 |
5 |
26 |
processExtraGigs() |
S |
56 |
5 |
17 |
cartTotal() |
S |
58 |
5 |
16 |
applyCoupon() |
S |
54 |
4 |
21 |
getCoupon() |
S |
62 |
4 |
10 |
clearCoupon() |
S |
59 |
3 |
14 |
itemThumb() |
S |
58 |
3 |
14 |
removeItem() |
S |
61 |
3 |
13 |
isRecurring() |
S |
62 |
3 |
11 |
calculateTax() |
S |
62 |
3 |
11 |
itemLink() |
S |
61 |
3 |
11 |
clear() |
S |
61 |
2 |
13 |
getID() |
S |
65 |
2 |
10 |
gigsCost() |
S |
69 |
2 |
7 |
__construct() |
S |
100 |
1 |
2 |
getTax() |
S |
79 |
1 |
3 |
isEmpty() |
S |
76 |
1 |
4 |
onUserLogin() |
S |
66 |
1 |
8 |
couponDiscount() |
S |
74 |
1 |
4 |
updateCart() |
S |
100 |
1 |
2 |
itemCost() |
S |
62 |
1 |
10 |
getRoleDiscount() |
S |
83 |
1 |
3 |
save() |
S |
64 |
1 |
9 |
isLocked() |
S |
79 |
1 |
3 |
unlockCart() |
S |
76 |
1 |
4 |
lockCart() |
S |
79 |
1 |
3 |
update() |
S |
79 |
1 |
3 |
clearAll() |
S |
71 |
1 |
6 |